﻿<%
_out.targetFile =  util.format('%s\\%s\\Index.js', clientProjectDirectory, table.singular);
_out.cover = false;
%>
Ext.application({
    name: 'Demo.testgrid',
    paths: {
        '<%= rootNamespace %>.<%= table.singular.toLowerCase() %>': 'app',
        'Happy': '../../../Javascript/Happy/src'
    },
    requires: [
        '<%= rootNamespace %>.<%= table.singular.toLowerCase() %>.metadata.Manager'
    ],
    launch: function () {
        Ext.create('Ext.container.Viewport', {
            layout: 'fit',
            items: { xtype: '<%= table.singular.toLowerCase() %>-<%= table.isTree ? "tree" : "grid" %>' }
        });
    }
});